package com.zxf.appliction.domain;

import java.util.Date;



public class Article {
    private Integer articleid;

	private Integer channelid;

	private Integer typeid;

	private String title;

	private String summary;

	private String addeddate;

	private String user;

	private String author;

	private String source;

	private Date publishdate;
	private String content;
	private Integer contentid;





	public Integer getContentid() {
		return contentid;
	}

	public void setContentid(Integer contentid) {
		this.contentid = contentid;
	}

	public Article() {
		super();
	}

	public Article(Integer articleid, Integer channelid, Integer typeid, String title, String summary, String addeddate,
			String user, String author, String source, Date publishdate, String content, Integer contentid) {
		super();
		this.articleid = articleid;
		this.channelid = channelid;
		this.typeid = typeid;
		this.title = title;
		this.summary = summary;
		this.addeddate = addeddate;
		this.user = user;
		this.author = author;
		this.source = source;
		this.publishdate = publishdate;
		this.content = content;
		this.contentid = contentid;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getArticleid() {
		return articleid;
	}

	public void setArticleid(Integer articleid) {
		this.articleid = articleid;
	}

	public Integer getChannelid() {
		return channelid;
	}

	public void setChannelid(Integer channelid) {
		this.channelid = channelid;
	}

	public Integer getTypeid() {
		return typeid;
	}

	public void setTypeid(Integer typeid) {
		this.typeid = typeid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title == null ? null : title.trim();
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary == null ? null : summary.trim();
	}

	public String getAddeddate() {
		return addeddate;
	}

	public void setAddeddate(String addeddate) {
		this.addeddate = addeddate == null ? null : addeddate.trim();
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user == null ? null : user.trim();
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author == null ? null : author.trim();
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source == null ? null : source.trim();
	}

	public Date getPublishdate() {
		return publishdate;
	}

	public void setPublishdate(Date publishdate) {
		this.publishdate = publishdate;
	}

	@Override
	public String toString() {
		return "Article [articleid=" + articleid + ", channelid=" + channelid + ", typeid=" + typeid + ", title="
				+ title + ", summary=" + summary + ", addeddate=" + addeddate + ", user=" + user + ", author=" + author
				+ ", source=" + source + ", publishdate=" + publishdate + ", content=" + content + ", contentid="
				+ contentid + "]";
	}



	
    
}